package com.example.comment_oa.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

/**
 * 
 * @TableName xg_zhiweijiben
 */
@TableName(value ="xg_zhiweijiben")
@Data
public class XgZhiweijiben implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer xgId;

    /**
     * 
     */
    private String xgDepartmentname;

    /**
     * 
     */
    private String xgJob;

    /**
     * 
     */
    private String xgNeirong;

    /**
     * 
     */
    private Double xgBefore;

    /**
     * 
     */
    private Double xgAfter;

    /**
     * 
     */
    private String xgProperty;

    /**
     * 
     */
    private String xgPerson;

    /**
     * 
     */
    private String xgPersongonghao;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp xgTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}